From: Jasper St. Pierre Date: Sun, 17 Mar 2013 19:33:02 +0000 (-0400) Subject: searchDisplay: Label search result actors for accessibility X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~4442 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=41cf447c459dfbc2b6e002b4f40b457d91fc8f8d;p=gnome-shell.git searchDisplay: Label search result actors for accessibility https://bugzilla.gnome.org/show_bug.cgi?id=696007 --- diff --git a/js/ui/searchDisplay.js b/js/ui/searchDisplay.js index ce99f0f03..d93a0b75c 100644 --- a/js/ui/searchDisplay.js +++ b/js/ui/searchDisplay.js @@ -104,6 +104,7 @@ const ListSearchResult = new Lang.Class({ y_fill: false, x_align: St.Align.START, y_align: St.Align.START }); + this.actor.label_actor = title; if (this.metaInfo['description']) { let description = new St.Label({ style_class: 'list-search-result-description' }); @@ -141,6 +142,7 @@ const GridSearchResult = new Lang.Class({ } this.actor.set_child(content); + this.actor.label_actor = content.label_actor; let draggable = DND.makeDraggable(this.actor); draggable.connect('drag-begin',